﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GoodDotNet.Core.Model
{

    public class ParUpdateRolePermission
    {
        /// <summary>
        /// 角色id
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 权限模块
        /// </summary>
        public ParUpdateRoleModule[] modules { get; set; }
    }
    public class ParUpdateRoleModule
    {
        /// <summary>
        /// 模块id
        /// </summary>
        public int moduleId { get; set; }
        /// <summary>
        /// 按钮权限
        /// </summary>
        public string? btns { get; set; }
    }
}
